#pragma once

#ifndef _SEETA_APP_H
#define _SEETA_APP_H

#include "seeta/PointDetector2.h"
#include "seeta/FaceDetector2.h"
#include "seeta/FaceRecognizer.h" 

#include "opencv2/opencv.hpp"

#include <map>
#include <string>



class CSeetaApp
{
public:
	void regPicArr(const char * picPath,void * dlg);

	void refreshDb(const char * picPath, void * dlg);
	CSeetaApp();

	void imgRec(cv::Mat & imageIn, int *indexOut, float * similarOut, std::string & stuNumOut);

	virtual ~CSeetaApp();

private:
	seeta::FaceDetector2 * m_fd;

	seeta::PointDetector2 * m_pd;
	seeta::FaceRecognizer2 * m_fr; 

	std::map<int, std::string> mapStu;


};


#endif
